package com.songcha.library_common.util

import java.util.regex.Matcher
import java.util.regex.Pattern


class RegexUtil {
    companion object{
        @JvmStatic
        fun isPhone(phone:String):Boolean{
            val p: Pattern = Pattern.compile("^(1[3-9])\\d{9}$")
            val m: Matcher = p.matcher(phone)
            return (m.matches())
        }
    }
}